﻿@{
    Layout = "";
}
@model Nop.Plugin.Widgets.ForumLast.Models.ConfigurationModel
@using Nop.Web.Framework;
@Html.Action("StoreScopeConfiguration", "Setting", new { area = "Admin" })


@using (Html.BeginForm())
{
    <div>
        <h2>Forum Last</h2>
        <ul>
            <li>
                Set the total number of items: Admin panel -> Configuration -> Settings -> All Settings -> <br />
                Filter Setting name for: forumsettings.homepageactivediscussionstopiccount -> Edit -> set value -> Update
            </li>
            <li>There is a bug when number of Items set t 2, the box will dynamically  change its size</li>
        </ul>
    </div>

            <table class="adminContent">
                <tr>
                    <td class="adminTitle" colspan="2">
                    <h2>@T("Plugins.Widgets.ForumLast.Title")</h2>   
                    </td>
                </tr>
                <tr>
                    <td class="adminTitle">
                        @Html.NopLabelFor(model => model.WidgetsZoneValues):
                    </td>
                    <td class="adminData">
                        @Html.DropDownListFor(model => model.WidgetsZoneId, Model.WidgetsZoneValues)
                        @Html.ValidationMessageFor(model => model.WidgetsZoneValues)
                    </td>
                </tr>
                <tr>
                    <td class="adminTitle">
                        @Html.NopLabelFor(model => model.Publish):
                    </td>
                    <td class="adminData">
                        @Html.EditorFor(model => model.Publish)
                        @Html.ValidationMessageFor(model => model.Publish)
                    </td>
                </tr>
                <tr>
                    <td class="adminTitle">
                        @Html.NopLabelFor(model => model.DisplayOrder):
                    </td>
                    <td class="adminData">
                        @Html.EditorFor(model => model.DisplayOrder)
                        @Html.ValidationMessageFor(model => model.DisplayOrder)
                    </td>
                </tr>
                <tr>
                    <td class="adminTitle">
                        @Html.NopLabelFor(model => model.DirectionValues):
                    </td>
                    <td class="adminData">
                        @Html.DropDownListFor(model => model.DirectionId, Model.DirectionValues)
                        @Html.ValidationMessageFor(model => model.DirectionValues)
                    </td>
                </tr>
                <tr>
                    <td class="adminTitle">
                        @Html.NopLabelFor(model => model.Visible):
                    </td>
                    <td class="adminData">
                        @Html.EditorFor(model => model.Visible)
                        @Html.ValidationMessageFor(model => model.Visible)
                    </td>
                </tr>
                <tr>
                    <td class="adminTitle">
                        @Html.NopLabelFor(model => model.Interval):
                    </td>
                    <td class="adminData">
                        @Html.EditorFor(model => model.Interval)
                        @Html.ValidationMessageFor(model => model.Interval)
                    </td>
                </tr>
                <tr>
                    <td class="adminTitle">
                        @Html.NopLabelFor(model => model.ShowNavigation):
                    </td>
                    <td class="adminData">
                        @Html.EditorFor(model => model.ShowNavigation)
                        @Html.ValidationMessageFor(model => model.ShowNavigation)
                    </td>
                </tr>

                <tr>
                    <td colspan="2">
                        <input type="submit" name="save" class="k-button" value="@T("Admin.Common.Save")" />
                    </td>
                </tr>
            </table>
 
}